/// code : 0
/// data : {"addUser":"20092511305196863540531211","isDelete":0,"keyID":"20100817225994779180539211","photoFileID":"20100817225950332250201211","photoUrl":"https://com-shuibei-peach-doctor-cs.100cbc.com/certify/20092511305196863540531211/20100817225950332250201211.jpg","modifyUser":"20092511305196863540531211","certifyName":"身份证正面","doctorID":"20092511305196863540531211","certifyCode":"ID-FRONT"}
/// message : "成功"

class SaveCertifyPhotoEntity {
  int _code;
  Data _data;
  String _message;

  int get code => _code;

  Data get data => _data;

  String get message => _message;

  SaveCertifyPhotoEntity({int code, Data data, String message}) {
    _code = code;
    _data = data;
    _message = message;
  }

  SaveCertifyPhotoEntity.fromJson(dynamic json) {
    _code = json["code"];
    _data = json["data"] != null ? Data.fromJson(json["data"]) : null;
    _message = json["message"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["code"] = _code;
    if (_data != null) {
      map["data"] = _data.toJson();
    }
    map["message"] = _message;
    return map;
  }
}

/// addUser : "20092511305196863540531211"
/// isDelete : 0
/// keyID : "20100817225994779180539211"
/// photoFileID : "20100817225950332250201211"
/// photoUrl : "https://com-shuibei-peach-doctor-cs.100cbc.com/certify/20092511305196863540531211/20100817225950332250201211.jpg"
/// modifyUser : "20092511305196863540531211"
/// certifyName : "身份证正面"
/// doctorID : "20092511305196863540531211"
/// certifyCode : "ID-FRONT"

class Data {
  String _addUser;
  int _isDelete;
  String _keyID;
  String _photoFileID;
  String _photoUrl;
  String _modifyUser;
  String _certifyName;
  String _doctorID;
  String _certifyCode;

  String get addUser => _addUser;

  int get isDelete => _isDelete;

  String get keyID => _keyID;

  set keyID(String value) {
    _keyID = value;
  }

  String get photoFileID => _photoFileID;

  String get photoUrl => _photoUrl;

  set photoUrl(String value) {
    _photoUrl = value;
  }

  String get modifyUser => _modifyUser;

  String get certifyName => _certifyName;

  String get doctorID => _doctorID;

  String get certifyCode => _certifyCode;

  Data(
      {String addUser,
      int isDelete,
      String keyID,
      String photoFileID,
      String photoUrl,
      String modifyUser,
      String certifyName,
      String doctorID,
      String certifyCode}) {
    _addUser = addUser;
    _isDelete = isDelete;
    _keyID = keyID;
    _photoFileID = photoFileID;
    _photoUrl = photoUrl;
    _modifyUser = modifyUser;
    _certifyName = certifyName;
    _doctorID = doctorID;
    _certifyCode = certifyCode;
  }

  Data.fromJson(dynamic json) {
    _addUser = json["addUser"];
    _isDelete = json["isDelete"];
    _keyID = json["keyID"];
    _photoFileID = json["photoFileID"];
    _photoUrl = json["photoUrl"];
    _modifyUser = json["modifyUser"];
    _certifyName = json["certifyName"];
    _doctorID = json["doctorID"];
    _certifyCode = json["certifyCode"];
  }

  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["addUser"] = _addUser;
    map["isDelete"] = _isDelete;
    map["keyID"] = _keyID;
    map["photoFileID"] = _photoFileID;
    map["photoUrl"] = _photoUrl;
    map["modifyUser"] = _modifyUser;
    map["certifyName"] = _certifyName;
    map["doctorID"] = _doctorID;
    map["certifyCode"] = _certifyCode;
    return map;
  }
}
